<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> 
<%@ taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>员工详情</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		
		<script language="javascript" src="js/jquery.js"></script>
		<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
  		<script type="text/javascript" src="js/skygq.checkform.1.2.js"></script>
  		<link rel="stylesheet" href="style/common.css" type="text/css" />
 		<link rel="stylesheet" href="style/valid.css" type="text/css" />
 		<link rel="stylesheet" type="text/css" href="style/styles.css">
		<link rel="stylesheet" type="text/css" href="style/button.css">
		<link rel="stylesheet" type="text/css" href="style/icon.css">
		<script language="javascript" src="js/pico-button.js"></script>
		<script language="javascript" src="js/style.js"></script>
		<script language="javascript" src="pages/employeeManage/js/employee.js"></script>
	</head>
	<body>
		<s:form id="employeeForm" action="employeeAction!doAddEmployee.action" method="post">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
				<td height="30" background="images/tab_05.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="30">
								<img src="images/tab_03.gif" width="12" height="30" />
							</td>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="80%" valign="middle">
											<table width="100%" border="0" cellspacing="0"
												cellpadding="0">
												<tr>
													<td width="5%">
														<div align="center">
															<img src="images/tb.gif" width="16" height="16" />
														</div>
													</td>
													<td width="95%" class="STYLE1">
														<span class="STYLE3">你当前的位置</span>：【员工管理】-【添加员工】
														</td>
												</tr>
											</table>
										</td>
										<td width="20%">
											<table border="0" align="right" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="60">
														<table width="87%" border="0" cellpadding="0"
															cellspacing="0">
															
														</table>
													</td>
													<td width="60">
														<table width="90%" border="0" cellpadding="0"
															cellspacing="0">
															
														</table>
													</td>
													<td width="60">
														<table width="90%" border="0" cellpadding="0"
															cellspacing="0">
															
														</table>
													</td>
													<td width="52">
														<table width="88%" border="0" cellpadding="0"
															cellspacing="0">
															
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<td width="16">
								<img src="images/tab_07.gif" width="16" height="30" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="8" background="images/tab_12.gif">
									&nbsp;
								</td>
								<td>
									<table width="100%" border="0" cellpadding="0" cellspacing="1"
										bgcolor="b5d6e6" onmouseover="changeto()"
										onmouseout="changeback()">
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												用户名称：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.userName }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												用户密码：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.password }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												真实姓名：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.realName }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												员工电话：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.phone}
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												集团名称：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.groupName }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												公司名称：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.companyName}
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												矿区名称：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.collieryName }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												部门名称：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.departmentName }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												性别：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												<s:if test="employee.sex=='man'">男</s:if>
												<s:elseif test="employee.sex=='women'">女</s:elseif>
												
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												年龄：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.age }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												出生日期：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.birthday }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												家庭住址：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.homeAddress }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												登录IP地址：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.lastLoginIp }
											</td>
										</tr>
										<tr>
											<td width="10%" height="25" align="right" bgcolor="#F6F9FC" class="STYLE1">
												最新上线时间：
											</td>
											<td width="85%" height="25" align="left" bgcolor="#FFFFFF" class="STYLE1">
												${employee.lastLoginTime }
											</td>
										</tr>
										
									</table>
								</td>
								<td width="8" background="images/tab_15.gif">
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
				</tr>
				<tr>
					<td style="padding-left: 70px"><input icon='icon-retry' type='button' value="返回" onclick="goBack();"></td>
				</tr>
			</table>
		</s:form>
	</body>
</html>
